import request from '@/utils/request'
export function getChildrenNodeByParentID(data) {
  return request({
    url: '/Dictionary/GetChildrenNodeByParentID',
    method: 'get',
    params: data
  })
}
export function getAllDictionaryNode(data) {
  return request({
    url: '/Dictionary/GetAllDictionaryNode',
    method: 'get',
    params: data
  })
}
export function getLazyNode(data) {
  return request({
    url: '/Dictionary',
    method: 'get',
    params: data
  })
}
export function createNode(data) {
  return request({
    url: '/Dictionary',
    method: 'post',
    data: data
  })
}
export function updateNode(data) {
  return request({
    url: '/Dictionary',
    method: 'put',
    data: data
  })
}
export function deleteNode(data) {
  return request({
    url: '/Dictionary',
    method: 'delete',
    params: data
  })
}
